import tkinter
from tkinter import *
# top = Tk()
# mainloop()
btn = Button()

btn.pack()
btn['text']= 'Click me!'
def clicked():
    print("刘德合")

btn['command'] = clicked

btn.config(text="Click me134！",command =clicked)
Button(text='Click me too!',command=clicked).pack()

mainloop()
